package com.tbvtc.agriculturalcreditchainserver2025.vo.ConsumerVo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
public class CropFertilizerCheckItems {


    @TableField("fertilizer_type")
    private String fertilizerType;

    @TableField("standard_dosage")
    private String standardDosage;

    @TableField("farmer_dosage")
    private String farmerDosage;

    @TableField("is_qualified")
    private Boolean isQualified;

    @TableField("reference_basis")
    private String referenceBasis;

    @TableField(value = "check_date",fill = FieldFill.INSERT)
    private LocalDate checkDate;

    @TableField("ai_suggestion")
    private String aiSuggestion;


    @TableField(condition = "create_time",fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
}
